package priv.yiyuan.example.design.visitor;

/**
 * CMS 系统数据
 *
 * @author YiYuan
 * @data 2025/7/30
 * @apoNote
 */
public class CmsContentData implements SystemData {

    private String contentId;

    private String title;

    private String body;

    public CmsContentData(String contentId, String title, String body) {
        this.contentId = contentId;
        this.title = title;
        this.body = body;
    }

    public String getContentId() {
        return contentId;
    }

    public String getTitle() {
        return title;
    }

    public String getBody() {
        return body;
    }

    @Override
    public void accept(DataSyncVisitor visitor) {
        visitor.visit(this);
    }
}
